package hrms.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import hrms.util.Result;

public interface Service<T> {
	public Result<List<T>> findByPage(String page, HttpServletResponse res);
	public Result<Map<String, Integer>> pageTotal(HttpServletRequest req);
	public Result<List<T>> search(String name);
}
